import request from "@/sheep/request";

export default {
  // 获取企业信息
  list: (params) =>
    request({
      url: "/app_api.php?t=drill&s=company&op=getDrillIndex",
      method: "POST",
      data: params,
    }),
  delete: (params) =>
    request({
      url: "/app_api.php?t=drill&s=company&op=getDrillDel",
      method: "POST",
      data: params,
    }),
  add: (data) =>
    request({
      url: "/app_api.php?t=drill&s=company&op=getDrillEditForm",
      method: "POST",
      data: data,
    }),
  detail: (params) =>
    request({
      url: "/app_api.php?t=drill&s=company&op=getDrillInfo",
      method: "POST",
      data: params,
    }),
  updata: (data) =>
    request({
      url: "/app_api.php?t=drill&s=company&op=getDrillEditForm",
      method: "POST",
      data: data,
    }),
};
